﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;
using Abp.AutoMapper;
using FwProject.Core.Restaurant;

namespace FwProject.Restaurant.Dto
{
    [AutoMap(typeof(RestaurantTypenNumberInfo))]
    public class RestaurantTypeNumberInput
    {
        /// <summary>
        /// 型号编号
        /// </summary>
        /// <value>The type number identifier.</value>
        [Required]
        [Display(Name ="型号编号")]
        public Guid TypeNumberId { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        /// <value>The price.</value>
        [Required]
        [Display(Name ="单价")]
        
        public decimal Price { get; set; } = 0;
        /// <summary>
        /// 餐厅编号
        /// </summary>
        /// <value>The restaurantid.</value>
        [Required]
        [Display(Name ="餐厅编号")]
        public Guid Restaurantid { get; set; }

        public bool IsDefault { get; set; } = true;
        [Required]
        [Display(Name = "工厂ID")]
        public Guid? FactoryinfoId { get; set; }

    }
}
